package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;


/**
 * <p>
 * 角色
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_role")
public class RoleEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String code;

    /**
     * 角色名
     */
    private String name;

    private Date createDate;

    private Date modifiDate;

    private String creator;

    private String modifier;

    /**
     * 0.停用. 1启用\n            \n            
     */
    private Integer status;

    /**
     * -1 删除 1 有效\n            
     */
    private Integer isDelete;

}
